-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLEANUP beta] Update GlimmerVM to 0.81 #19762
Conversation
I think you'll need to cherry-pick #19731 to fix some failures |
Thanks @snewcomer / @nlfurniss - I've merged both of those PR's into this branch. |
78935a8
to
0156f7b
Compare
Looking into the failures and here is at least one fix: glimmerjs/glimmer-vm#1343 (fixes 3/5 errors) |
And this diff fixes the rest of the tests (and I believe it's correct) diff --git a/packages/@ember/-internals/glimmer/tests/integration/components/angle-bracket-invocation-test.js b/packages/@ember/-internals/glimmer/tests/integration/components/angle-bracket-invocation-test.js
index 34a696ab5..1bb86b5c4 100644
--- a/packages/@ember/-internals/glimmer/tests/integration/components/angle-bracket-invocation-test.js
+++ b/packages/@ember/-internals/glimmer/tests/integration/components/angle-bracket-invocation-test.js
@@ -9,7 +9,7 @@ import { Component } from '../../utils/helpers';
class CustomModifierManager {
constructor(owner) {
- this.capabilities = modifierCapabilities('3.13');
+ this.capabilities = modifierCapabilities('3.22');
this.owner = owner;
}
diff --git a/packages/@ember/-internals/glimmer/tests/integration/custom-component-manager-test.js b/packages/@ember/-internals/glimmer/tests/integration/custom-component-manager-test.js
index c4d6552f3..62e9b576a 100644
--- a/packages/@ember/-internals/glimmer/tests/integration/custom-component-manager-test.js
+++ b/packages/@ember/-internals/glimmer/tests/integration/custom-component-manager-test.js
@@ -463,6 +463,7 @@ moduleFor(
return EmberObject.create({
capabilities: componentCapabilities('3.13', {
asyncLifecycleCallbacks: true,
+ updateHook: true,
}),
createComponent(factory, args) {
@@ -668,6 +669,7 @@ moduleFor(
capabilities: componentCapabilities('3.13', {
destructor: true,
asyncLifecycleCallbacks: true,
+ updateHook: true,
}),
createComponent(factory, args) { |
looks like only |
Yep I was debugging that on the glimmer side. There are some op codes that I was tracking down in glimmer. Perhaps will make some progress but if you happen to know, would love to chat about it. |
Sadly not. Glimmer is like Swahili to me 😔 |
I'm struggling with what do to since we removed the
eg. I believe the VM is in a bad state. I'm 👀 at
|
@ef4 is looking into the failing test here, to figure out what is going on. It is totally plausible that the test just isn't valid any longer, but it does seem strange that we don't get a better assertion / failure message. |
After investigating I think the test failure is revealing a legitimate bug in glimmer-vm. The Here's a PR to try and remove it entirely instead: glimmerjs/glimmer-vm#1362 |
With the above glimmer-vm PR, there's still an exception in that test, but now it's a proper error and not a VM crash:
I think the behavior is now correct, although the wording of the error message is misleading. When it was written, it could probably only be reached in strict mode. But now that the {{hello.world}} supports only strict resolution, since there's nowhere else it can come from, because we never supported globals resolution of this syntax. |
Note: I'm working on rebasing now that glimmer-vm 0.83.1 is released |
e3a33f7
to
92b2bde
Compare
CI will fail until #19830 lands |
92b2bde
to
5a59337
Compare
…g features) * Remove usages of `deprecateMutationsInTrackingTransaction` * Remove manager-capabilities deprecations * Remove mutation after consumption deprecations id: `autotracking.mutation-after-consumption` * Remove `this.` property fallback deprecations id: `this-property-fallback` Co-Authored-By: Scott Newcomer <[email protected]> Co-Authored-By: Nathaniel Furniss <[email protected]>
5a59337
to
9b513b8
Compare
High level breaking changes:
@glimmer/integration-tests
,@glimmer/manager
,@glimmer/validator
@glimmer/manager
@glimmer/integration-tests
,@glimmer/manager
See full details here:
https://github.com/glimmerjs/glimmer-vm/releases/tag/v0.81.0
Closes #19735
Closes #19731